package cn.gson.work.model.mapper;

import cn.gson.work.model.pojos.Tfil;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TfilMapper {
    public List<Tfil> findTfil(@Param("fid") String fid, @Param("fname") String fname,
                               @Param("fsecurity") String fsecurity);
    public void addTfil(Tfil tfil);
    public void editTfil(Tfil tfil);
    public void delTfil(@Param("id") int id);
    public void delTs(@Param("id") int id);
    public Tfil findTfilByNo(@Param("fno") int fno);
}
